//
//  ShipListTableViewCell.m
//  VTravel
//
//  Created by lanouhn on 16/8/5.
//  Copyright © 2016年 xiaoYu. All rights reserved.
//

#import "ShipListTableViewCell.h"

@implementation ShipListTableViewCell

- (void)setModel:(ShipProductListModel *)model{
    [self.shipImageView sd_setImageWithURL:[NSURL URLWithString:ImageURL(model.thumb)]];
    self.titleLabel.text = model.product_name;
    self.priceLabel.text = [NSString stringWithFormat:@"¥%@起", model.min_price];
    self.startPlaceLabel.text = [NSString stringWithFormat:@"[%@出发]", model.port_name];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
